package map.android.baidu.carpool.response;

import com.baidu.lbs.net.http.response.ComNetResponse;
import map.android.baidu.carpool.model.DiscountItem;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by zhangtongyu on 15/3/23.
 * main模块优惠券列表接口response
 */
public class DiscountListResponse extends ComNetResponse implements Serializable {
    private static final long serialVersionUID = 3546126707647931265L;

    public DiscountListRoot data;

    public class DiscountListRoot implements Serializable{

        private static final long serialVersionUID = 394565050148100302L;

        public ArrayList<DiscountItem> useList;
        public ArrayList<DiscountItem> disableList;

    }

    @Override
    public boolean isBadResponse() {
        return false;
    }

    @Override
    public int getErrorNo() {
        return 0;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

}
